
#tools_trace {
    position: fixed;
    z-index: 99999999;
    font-size: 14px !important;
    text-align: left !important;
}

/* Logo 图标右下角 */
#tools_trace .trace-logo {
    position: fixed;
    bottom: 0px;
    right: 0px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s;
    font-size: 14px;
    background-color: #eb4432;
    color: gold;
    padding: 0;
    border: 1px solid gold;
    box-sizing: content-box;
}

#tools_trace .trace-logo .logo {
    float: left;
    background-color: #fff !important;
}

#tools_trace .trace-logo .title {
    margin: 0 4px;
}

/* Tabs 容器 */
#tools_trace .tabs-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 260px;
    max-height: 80%;
    background: #333;
    border-top: 1px solid #444;
    display: none;
    flex-direction: column;
}

/* Tabs 头部 */
#tools_trace .tabs-header {
    display: flex;
    align-items: center;
    padding: 0 8px;
    border-bottom: 1px solid #444;
    background: #222;
    max-width: 100%;
    overflow: auto;
}

#tools_trace .tabs-logo-small {
    height: 22px;
    margin: 0 15px;
    cursor: pointer;
}

#tools_trace .tabs-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

#tools_trace .tabs-item {
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
    color: #ccc;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

#tools_trace .tabs-item.active {
    background-color: #eb4432;
    color: #fff;
    border-radius: 0;
}

#tools_trace .tabs-close {
    margin-left: auto;
    padding: 2px 6px;
    cursor: pointer;
    color: #ccc;
    transition: color 0.3s;
    min-width: 30px;
}

#tools_trace .tabs-close:hover {
    color: #fff;
}

/* Tabs 内容 */
#tools_trace .tabs-content {
    flex: 1;
    padding: 0;
    background: #252a37;
    color: #edf2f7;
    overflow-y: auto;
    display: none;
}

#tools_trace a {
    color: #1775cc !important;
    cursor: pointer;
}

#tools_trace .tabs-content.active {
    display: block;
}

#tools_trace ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#tools_trace li {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 2px 0 2px 10px !important;
    margin: 0 !important;
}

/*#tools_trace li:nth-child(odd) {
  background-color: #252a37;
}*/

#tools_trace li:nth-child(even) {
    background-color: #18181b;
    color: white;
}

#tools_trace li .json-label {
    /*      flex: 0 0 25%;*/
    flex: 1;
    /*      max-width: 25%;*/
    line-height: 1.6;
    word-break: break-word;
}

#tools_trace li .json-arrow-pre-wrapper {
    flex: 0 0 70%;
    max-width: 70%;
    display: flex;
    flex-direction: column;
}

#tools_trace li .json-string-content {
    flex: 0 0 70%;
    max-width: 70%;
    display: flex;
    flex-direction: column;
}

#tools_trace li .json-right {
    /*flex: 0 0 5%;*/
    /*max-width: 5%;*/
    width: 70px;
    display: flex;
    flex-direction: column;
}

#tools_trace .json-arrow {
    display: inline-block;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
}

#tools_trace pre {
    display: none;
    background-color: #f4f4f4;
    color: #333;
    padding: 2px 8px;
    margin: 5px 0 0 0;
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    border-radius: 3px;
    font-size: 14px;
    /** 隔行换背景色 */
    background-size: 100% 28px;
    background-image: linear-gradient(to bottom, #eee 50%, transparent 50%), linear-gradient(to bottom, white 50%, transparent 50%);
    background-position: 0 0, 0 14px;
}

#tools_trace pre.show {
    display: block;
}